package com.cgs.query.config

class JpaCustomProperties {

    /**
     * 通过定义名和项目查询数据源id
     */
    var findSourceIdByDefineNameAndProjectName: String = "SELECT pd.source_id AS define_source_id,project.source_id AS project_source_id " +
            "FROM project_define pd,query_project project, query_define define " +
            "WHERE define.NAME = ? AND project.name = ? AND pd.project_name = project.name AND pd.define_id = define.id  "

    var findSourceIdByDefineNameAndTagNameAndProjectName: String = ""


    var findTags = "select DISTINCT(tags) from query_define_tag "
}